module.exports = {
  devServer: {
    port: 7070,
    proxy: {
      '/api': {
        // 设置代理到的目标地址（api对应的后端地址）
        target:'http://127.0.0.1:8089',
        changeOrigin: true,
        pathRewrite: {
          '^/api': ''
        }
      }
    },
    client: {
      webSocketURL: 'ws://0.0.0.0:7070/ws'
    },
  },
  transpileDependencies: true,
  lintOnSave: false
};

